package com.sys.entity;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractBusinessEntity;

/**
 *   实体类 - 查询定义
 *   
 */
@Entity 
@Table( 
		uniqueConstraints = {
			@UniqueConstraint(columnNames = {"PACKAGE_NAME","NAME"})
		}	
	)
public class TB_SYS_STATEMENT extends AbstractBusinessEntity{ 
	private static final long serialVersionUID = 1L;  
	public final static String STATEMENT_TYPE_SQL="SQL";
	public final static String STATEMENT_TYPE_JPQL="JPQL"; 
	
	/**包名**/
	@Column (length=100,nullable=false) 
	private String PACKAGE_NAME;
	/**名称**/
	@Column (length=64,nullable=false) 
	private String NAME ;  
	/**语句类型 "SQL"、"JPQL" **/ 
	@Column(length=10) 
	private String TYPE;  
	/**内容**/ 
	@Column(length=10000)
	private String CONTENT;  
	@Column(length=1000)
    private String EXPLANATION;//功能说明 
	/**服务名***/
	@Column (length=50 ) 
	private String SVC_NAME ;  
	/**支持分页 yes/no ***/
	@Column (length=10 ) 
	private String PAGING;
	
	public String getPACKAGE_NAME() {
		return PACKAGE_NAME;
	}
	public void setPACKAGE_NAME(String pACKAGE_NAME) {
		PACKAGE_NAME = pACKAGE_NAME;
	}
	public String getNAME() {
		return NAME;
	}
	public void setNAME(String nAME) {
		NAME = nAME;
	}
	public String getTYPE() {
		return TYPE;
	}
	public void setTYPE(String tYPE) {
		TYPE = tYPE;
	}
	public String getCONTENT() {
		return CONTENT;
	}
	public void setCONTENT(String cONTENT) {
		CONTENT = cONTENT;
	}
	public String getEXPLANATION() {
		return EXPLANATION;
	}
	public void setEXPLANATION(String eXPLANATION) {
		EXPLANATION = eXPLANATION;
	}
	public String getSVC_NAME() {
		return SVC_NAME;
	}
	public void setSVC_NAME(String sVC_NAME) {
		SVC_NAME = sVC_NAME;
	}
	public String getPAGING() {
		return PAGING;
	}
	public void setPAGING(String pAGING) {
		PAGING = pAGING;
	}
	 
}
